package com.pet_service.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pet_service.entity.OrderHomeService;
import com.pet_service.entity.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 邹全伸
* @description 针对表【order_home_service(上门服务-订单关联表)】的数据库操作Mapper
* @createDate 2025-09-20 09:18:18
* @Entity com.pet_service.entity.OrderHomeService
*/
public interface OrderHomeServiceMapper extends BaseMapper<OrderHomeService> {
    //物理删除
    int deleteByPhysicalId(Integer id);

    //查询订单并附带地址信息
    List<OrderHomeService> selectOrderWithAddress(@Param("queryWrapper") QueryWrapper<OrderHomeService> queryWrapper);
}




